.header {
    width: 100%;
    height: 80px;
    background-color: #454445;
    .header-inner {
        width: 1200px;
        height: 80px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;

        h1 {
            width: 120px;
            height: 50px;
            background-image: url(../images/source/logo.png);
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 120px 50px;
        }

        .city {
            font-size: 18px;
            color: #fff;
            flex: 1;
            text-align: center;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            .icon{
                width: 10px;
                height: 10px;
                background-image: url(../images/icon/drop_icon.png);
                background-position: center center;
                background-repeat: no-repeat;
                background-size: 10px 10px;
                display: block;

            }
        }
        .active{
            background-color: #fff;
            color: #000;
        }
        a {
            font-size: 18px;
            color: #fff;
            flex: 1;
            text-align: center;
            display: block;
            height: 80px;
            line-height: 80px;
            &:hover{
                background-color: #fff;
                color: #000;
            }
        }

        .search {
            width: 220px;
            height: 40px;
            position: relative;
            input {
                width: 220px;
                height: 40px;
                border: 0;
                background-color: #fff;
                border-radius: 100px;
                padding-left: 20px;
                box-sizing: border-box;
                font-size: 14px;
                line-height: 40px;
            }

            &::after {
                content: "";
                background-color: #3d3939;
                border-radius: 50%;
                display: block;
                width: 40px;
                height: 40px;
                position: absolute;
                background-image: url(../images/icon/search_icon.png);
                background-repeat: no-repeat;
                background-position: center center;
                background-size: 20px 20px;
                top: 0;
                right: 0;
                box-sizing: border-box;
                cursor: pointer;
            }
        }
        .user{
            height: 80px;
            &:hover{
                background-color: transparent;
            }
            display: flex;
            justify-content: center;
            align-items: center;
            .icon{
                display: block;
                width: 40px;
                height: 40px;
                background-image: url(../images/source/xiaoyang.jpg);
                background-size: 40px 40px;
                border-radius: 50%;
            }
        }
    }
}